package Lab05.Q6;

public class ExecutableFile extends File {
    public ExecutableFile(String name) {
        super(name);
    }
    public void executeCommand() {
        System.out.println("成功执行\n");
    }
    public String toString(){
        return this.getName()+"\t"+this.getPath()+"\t"+this.getTime()+"\t"+this.getStorage()+" \n";
    }
}
